package com.zhongli.devplatform.constant.im;

/**
 * 腾讯云 IM RestAPI 常量池
 * @author WuXiCheng
 * @version 1.0
 */
public class TencentIMRestAPIConstant {

    public static final String BASE_URL = "https://console.tim.qq.com/";

    // -------------其他设置----------------

    public static final String INIT_USER_ADD_TYPE = "AddSource_Type_AutoInit";

    // -------------系统账号----------------

    // 系统推送助手账号
    public static final String SYSTEM_HELPER_USER = "systemHelper";

    // -------------账号管理----------------

    // 导入单个账号
    public static final String ACCOUNT_IMPORT = "v4/im_open_login_svc/account_import";

    // 导入多个账号
    public static final String ACCOUNT_MULTIA_IMPORT = "v4/im_open_login_svc/multiaccount_import";

    // 删除账号
    public static final String ACCOUNT_DELETE = "v4/im_open_login_svc/account_delete";

    // 查询账号
    public static final String ACCOUNT_CHECK = "v4/im_open_login_svc/account_check";

    // 失效账号登录态
    public static final String ACCOUNT_KICK = "v4/im_open_login_svc/kick";

    // 查询账号在线状态
    public static final String ACCOUNT_QUERY_STATE = "v4/openim/querystate";

    // ------------------------------------
    // -------------单聊消息----------------

    // 发送单聊消息
    public static final String SEND_MSG = "v4/openim/sendmsg";

    // 批量发送单聊消息
    public static final String BATCH_SEND_MSG = "v4/openim/batchsendmsg";

    // 导入单聊消息
    public static final String IMPORT_MSG = "v4/openim/importmsg";

    // 查询单聊消息
    public static final String ADMIN_GET_ROAM_MSG = "v4/openim/admin_getroammsg";

    // 撤回单聊消息
    public static final String ADMIN_MSG_WITH_DRAW = "v4/openim/admin_msgwithdraw";

    // ------------------------------------
    // -------------资料管理----------------

    // 设置资料
    public static final String PORTRAIT_SET = "v4/profile/portrait_set";

    // 拉取资料
    public static final String PORTRAIT_GET = "v4/profile/portrait_get";

    // ------------------------------------
    // -------------关系链管理--------------

    // 添加好友
    public static final String FRIEND_ADD = "v4/sns/friend_add";

    // 导入好友
    public static final String FRIEND_IMPORT = "v4/sns/friend_import";

    // 更新好友
    public static final String FRIEND_UPDATE = "v4/sns/friend_update";

    // 删除好友
    public static final String FRIEND_DELETE = "v4/sns/friend_delete";

    // 删除所有好友
    public static final String FRIEND_DELETE_ALL = "v4/sns/friend_delete_all";

    // 校验好友
    public static final String FRIEND_CHECK = "v4/sns/friend_check";

    // 拉取好友
    public static final String FRIEND_GET = "v4/sns/friend_get";

    // 拉取指定好友
    public static final String FRIEND_GET_LIST = "v4/sns/friend_get_list";

    // 添加黑名单
    public static final String BLACK_LIST_ADD = "v4/sns/black_list_add";

    // 删除黑名单
    public static final String BLACK_LIST_DELETE = "v4/sns/black_list_delete";

    // 拉取黑名单
    public static final String BLACK_LIST_GET = "v4/sns/black_list_get";

    // 校验黑名单
    public static final String BLACK_LIST_CHECK = "v4/sns/black_list_check";

    // 添加分组
    public static final String GROUP_ADD = "v4/sns/group_add";

    // 删除分组
    public static final String GROUP_DELETE = "v4/sns/group_delete";

    // ------------------------------------
    // -------------群组管理----------------

    // 创建群组
    public static final String CREATE_GROUP = "v4/group_open_http_svc/create_group";

    // 获取群组详细资料
    public static final String GET_GROUP_INFO = "v4/group_open_http_svc/get_group_info";

    // 获取群成员详细资料
    public static final String GET_GROUP_MEMBER_INFO = "v4/group_open_http_svc/get_group_member_info";

    // 修改群组基础资料
    public static final String MODIFY_GROUP_BASE_INFO = "v4/group_open_http_svc/modify_group_base_info";

    // 增加群组成员
    public static final String ADD_GROUP_MEMBER = "v4/group_open_http_svc/add_group_member";

    // 删除群组成员
    public static final String DELETE_GROUP_MEMBER = "v4/group_open_http_svc/delete_group_member";

    // 修改群组成员资料
    public static final String MODIFY_GROUP_MEMBER_INFO = "v4/group_open_http_svc/modify_group_member_info";

    // 解散群组
    public static final String DESTROY_GROUP = "v4/group_open_http_svc/destroy_group";

    // 获取用户所加入的群组
    public static final String GET_JOINED_GROUP_LIST = "v4/group_open_http_svc/get_joined_group_list";

    // 查询用户在群组中的身份
    public static final String GET_ROLE_IN_GROUP = "v4/group_open_http_svc/get_role_in_group";

    // 批量禁言和取消禁言
    public static final String FORBID_SEND_MSG = "v4/group_open_http_svc/forbid_send_msg";

    // 获取群组被禁言用户列表
    public static final String GET_GROUP_SHUTTED_UIN = "v4/group_open_http_svc/get_group_shutted_uin";

    // 在群组中发送普通消息
    public static final String SEND_GROUP_MSG = "v4/group_open_http_svc/send_group_msg";

    // 在群组中发送系统通知
    public static final String SEND_GROUP_SYS_NOTIFI = "v4/group_open_http_svc/send_group_system_notification";

    // 群组消息撤回
    public static final String GROUP_MSG_RECALL = "v4/group_open_http_svc/group_msg_recall";

    // 转让群主
    public static final String CHANGE_GROUP_OWWNER = "v4/group_open_http_svc/change_group_owner";

    // 导入群基础资料
    public static final String IMPORT_GROUP = "v4/group_open_http_svc/import_group";

    // 导入群消息
    public static final String IMPORT_GROUP_MSG = "v4/group_open_http_svc/import_group_msg";

    // 导入群成员
    public static final String IMPORT_GROUP_MEMBER = "v4/group_open_http_svc/import_group_member";

    // 设置成员未读消息计数
    public static final String SET_UNREAD_MSG_NUM = "v4/group_open_http_svc/set_unread_msg_num";

    // 删除指定用户发送的消息
    public static final String DELETE_GROUP_MSG_BY_SENDER = "v4/group_open_http_svc/delete_group_msg_by_sender";

    // 拉取群漫游消息
    public static final String GROUP_MSG_GET_SIMPLE = "v4/group_open_http_svc/group_msg_get_simple";

    // ------------------------------------
    // ----------全局禁言管理----------------

    // 设置全局禁言
    public static final String SET_NO_SPEAKING = "v4/openconfigsvr/setnospeaking";

    // 查询全局禁言
    public static final String GET_NO_SPEAKING = "v4/openconfigsvr/getnospeaking";

    // ------------------------------------
    // -------------运营管理----------------

    // 拉取运营数据
    public static final String GET_APP_INFO = "v4/openconfigsvr/getappinfo";

    // 下载消息记录
    public static final String GET_HISTORY = "v4/open_msg_svc/get_history";
}
